package gen.background.util;

public class DefaultDataTypeSwitch implements DataTypeSwitch {

	@Override
	public String typeSwitch(String type) {
		switch(type){
			case "bigint":
				return "Long";
			case "int":
				return "Integer";
			case "double":
			case "decimal":
			case "float":
				return "Double";
			case "varchar":
			case "text":
			case "char":
				return "String";
			case "timestamp":
			case "datetime":
			case "date":
			case "time":
				return "Date";
			default:
				return type;
		}
	}

}
